Add a way to delay snapshots in reftests
authorMatthias Clasen <mclasen@redhat.com>
Tue, 3 Jun 2014 02:31:49 +0000 (22:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 3 Jun 2014 02:35:59 +0000 (22:35 -0400)
commitb86f5a4086bfcf17bcb352b411fd7409c7e0d51b
tree3e062d8f40c396f4f0e37d14d29c21a19b30e0eb
parent16c89eb5f756ff986570210a8b05d413356ef483
Add a way to delay snapshots in reftests

This adds an inhibit api that code from the reftest module
can use to delay the taking of the snapshot. Also refactor
the code in gtk-reftest to use the inhibit mechanism for
its own delaying of the snapshot until after the first
expose.
testsuite/reftests/Makefile.am
testsuite/reftests/gtk-reftest.c
testsuite/reftests/gtk-reftest.h [new file with mode: 0644]